x86/HVM: adjust data definitions in mtrr.c
authorJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:06:40 +0000 (11:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:06:40 +0000 (11:06 +0100)
commita14a2db700e930f96830d05e3ab3f886ac26c247
tree23622c0692fd437ab659c36518590a284153703c
parent9963a1aa033ce7716dd55659787ba99210066b24
x86/HVM: adjust data definitions in mtrr.c

- use proper section attributes
- use initializers where possible
- clean up pat_type_2_pte_flags()

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/mtrr.c